<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>vifdemo</title>
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>

</head>
<body>
<div id="app">
    <img src="img.png" v-if="isShow">
    <img src="img.png" v-if="age>10">
    <img src="img.png" v-if=true>
</div>
<script>
    const app = new Vue({
        el:"#app",
        data:{
            isShow:true,
            age:9
        },
        methods:{}
    })
</script>
</body>
</html>
